//
//  VideoDetailVC.swift
//  pai
//
//  Created by diaojz on 2017/4/14.
//  Copyright © 2017年 SHIELD. All rights reserved.
//

import UIKit

class VideoDetailVC: UIViewController {

    var selectedIndex: IndexPath?
    
    @IBOutlet weak var avatar: UIImageView!
    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var like: UIButton!
    @IBOutlet weak var imageView: UIImageView!
    
    @IBOutlet weak var content: UILabel!
    @IBOutlet weak var location: UIButton!
    
    override func viewDidLoad() {
        super.viewDidLoad()

        titleLabel.heroID = "title"
        avatar.heroID = "avatar"
        like.heroID = "like"
        imageView.heroID = "image_\(selectedIndex?.item ?? 0)"
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    

}
